<template>
  <div class="app" id="app">
    <Header/>
    <main class="main">
        <!-- 渲染路由 -->
        <router-view/>
    </main>
  </div>
</template>
<script>
import './src/style/index.css'  //引入公共样式
import Header from './src/components/Header.vue'  //引入头部组件
export default {
  components:{
    Header
  },
};
</script>
<style>
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body{
  height: 100vh;
  background: #F5F5F7;
}
.main{
  height: 100%;
  width: 68%;
  margin: 0 auto;
}

</style>